// components/tab-tab/tab-tab.js
Component({

  /**
   * 组件的属性列表
   */
  properties: {
    currentIndex: {
      type: Number
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
    list: [{
        pagePath: "../search/search",
        text: "查询",
        iconPath: "/assets/gas.png",
        selectedIconPath: "/assets/gas_on.png",
        color: "#707070",
        selectedColor: "#4393F4",
      },
      {
        pagePath: "../history/history",
        text: "历史记录",
        iconPath: "/assets/i_history.png",
        selectedIconPath: "/assets/i_history_on.png",
        color: "#707070",
        selectedColor: "#4393F4",
      }
    ]
  },

  /**
   * 组件的方法列表
   */
  methods: {

  }
})